package com.zy.explore.license.interfaces.frm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 系统用户表(表sys_user)数据传输对象
 *
 * @author ZY
 * @date 2021-04-28 23:31:33
 */
@ApiModel("表(sys_user)实体类DTO")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysUserFrm {

    /**
     * 系统用户ID
     */
    @ApiModelProperty(value = "系统用户ID", example = "1")
    private Integer id;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", example = "a")
    private String name;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码", example = "a")
    private String phone;

    /**
     * 住宅电话
     */
    @ApiModelProperty(value = "住宅电话", example = "a")
    private String telephone;

    /**
     * 联系地址
     */
    @ApiModelProperty(value = "联系地址", example = "a")
    private String address;

    /**
     * 是否可用：0.禁用 1.可用
     */
    @ApiModelProperty(value = "是否可用：0.禁用 1.可用", example = "1")
    private Integer enabled;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", example = "a")
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", example = "a")
    private String password;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像", example = "a")
    private String avatar;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "a")
    private String remark;

    /**
     * 创建时间起
     */
    @ApiModelProperty(value = "创建时间起 yyyy-MM-dd", example = "2020-05-20")
    private String createTimeBegin;

    /**
     * 创建时间止
     */
    @ApiModelProperty(value = "创建时间止 yyyy-MM-dd", example = "2020-05-20")
    private String createTimeEnd;

    /**
     * 更新时间起
     */
    @ApiModelProperty(value = "更新时间起 yyyy-MM-dd", example = "2020-05-20")
    private String updateTimeBegin;

    /**
     * 更新时间止
     */
    @ApiModelProperty(value = "更新时间止 yyyy-MM-dd", example = "2020-05-20")
    private String updateTimeEnd;

    /**
     * 排序字段集合
     */
    @ApiModelProperty("排序字段集合")
    private List<SortFieldFrm> sortFields;

    /**
     * 分页查询参数，页码
     */
    @ApiModelProperty(value = "查询页", required = true, example = "1")
    private Integer pageNum;

    /**
     * 分页查询参数，每页数量
     */
    @ApiModelProperty(value = "每页数量", required = true, example = "10")
    private Integer pageSize;
}